
package com.eworking.eim;

import com.eworking.eim.notify.EIMMessageNotifyListener;
import com.eworking.eim.notify.EIMNotificationClickListener;

public class EIMChatOptions {
    
    /** 同意邀请 */
    private boolean acceptInvitationAlways = true;
    
    /** 是否加密 */
    private boolean useEncryption = false;
    
    /** 使用好友 */
    private boolean useRoster = true;
    
    /** 接受到消息是否声音提示 */
    private boolean noticedBySound = true;
    
    /** 接受到消息是否振动提示 */
    private boolean noticedByVibrate = true;
    
    /** 是否启用通知 */
    private boolean notificationEnable = true;
    
    /** 是否启用扬声器 */
    private boolean useSpeaker = true;
    
    /** 是否需要回执 */
    private boolean requireAck = true;
    
    /** 是否需要服务器回执 */
    private boolean requireServerAck = true;
    
    /** 通知监听器 */
    public EIMMessageNotifyListener messageNotifyListener = null;
    
    /** 点击通知信息监听器 */
    public EIMNotificationClickListener notificationClickListener = null;
    
    public boolean getRequireAck() {
        return this.requireAck;
    }
    
    public void setRequireAck(boolean paramBoolean) {
        this.requireAck = paramBoolean;
    }
    
    public boolean getNoticedBySound() {
        return this.noticedBySound;
    }
    
    public void setNoticeBySound(boolean paramBoolean) {
        this.noticedBySound = paramBoolean;
    }
    
    public boolean getNoticedByVibrate() {
        return this.noticedByVibrate;
    }
    
    public void setNoticedByVibrate(boolean paramBoolean) {
        this.noticedByVibrate = paramBoolean;
    }
    
    public boolean getNotificationEnable() {
        return this.notificationEnable;
    }
    
    public void setNotificationEnable(boolean paramBoolean) {
        this.notificationEnable = paramBoolean;
    }
    
    public boolean getUseSpeaker() {
        return this.useSpeaker;
    }
    
    public void setUseSpeaker(boolean paramBoolean) {
        this.useSpeaker = paramBoolean;
    }
    
    public void setUseEncryption(boolean paramBoolean) {
        this.useEncryption = paramBoolean;
    }
    
    public boolean getUseEncryption() {
        return this.useEncryption;
    }
    
    public boolean getUseRoster() {
        return this.useRoster;
    }
    
    public void setUseRoster(boolean paramBoolean) {
        this.useRoster = paramBoolean;
    }
    
    public boolean getAcceptInvitationAlways() {
        return this.acceptInvitationAlways;
    }
    
    public void setAcceptInvitationAlways(boolean paramBoolean) {
        this.acceptInvitationAlways = paramBoolean;
    }
    
    public boolean getRequireServerAck() {
        return this.requireServerAck;
    }
    
    public void setRequireServerAck(boolean paramBoolean) {
        this.requireServerAck = paramBoolean;
    }
    
    public EIMMessageNotifyListener getMessageNotifyListener() {
        return messageNotifyListener;
    }
    
    public void setMessageNotifyListener(EIMMessageNotifyListener messageNotifyListener) {
        this.messageNotifyListener = messageNotifyListener;
    }
    
    public EIMNotificationClickListener getNotificationClickListener() {
        return notificationClickListener;
    }
    
    public void setNotificationClickListener(EIMNotificationClickListener notificationClickListener) {
        this.notificationClickListener = notificationClickListener;
    }
    
}
